package com.edu.zut.domain;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author 许文科
 * @Date 2023/1/15 14:39
 * @Description paperdetect-bcak
 */
public class MenuVo {
    private Long menuId;//菜单ID
    private String menuName;//菜单名称
    private Long parentId;//父菜单ID
    private Long orderNum;//显示顺序
    private String path;//路由地址
    private String component;//组件路径
    private Integer level;//菜单层级
    private String query;//路由参数
    private String menuType;//类型，M目录，C菜单,F按钮
    private String isCache;//是否缓存，0缓存，1不缓存
    private String visible;//显示状态 ， 0显示，1隐藏
    private String status;//菜单状态 0正常，1隐藏
    private String perms;//权限字符串
    private String icon;//菜单图标
    private List<MenuVo> children = new ArrayList<MenuVo>();


    public MenuVo() {
    }

    public MenuVo(Long menuId, String menuName, Long parentId, Long orderNum, String path, String component, Integer level, String query, String menuType, String isCache, String visible, String status, String perms, String icon, List<MenuVo> children) {
        this.menuId = menuId;
        this.menuName = menuName;
        this.parentId = parentId;
        this.orderNum = orderNum;
        this.path = path;
        this.component = component;
        this.level = level;
        this.query = query;
        this.menuType = menuType;
        this.isCache = isCache;
        this.visible = visible;
        this.status = status;
        this.perms = perms;
        this.icon = icon;
        this.children = children;
    }

    /**
     * 获取
     *
     * @return menuId
     */
    public Long getMenuId() {
        return menuId;
    }

    /**
     * 设置
     *
     * @param menuId
     */
    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    /**
     * 获取
     *
     * @return menuName
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * 设置
     *
     * @param menuName
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    /**
     * 获取
     *
     * @return parentId
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * 设置
     *
     * @param parentId
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取
     *
     * @return orderNum
     */
    public Long getOrderNum() {
        return orderNum;
    }

    /**
     * 设置
     *
     * @param orderNum
     */
    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    /**
     * 获取
     *
     * @return path
     */
    public String getPath() {
        return path;
    }

    /**
     * 设置
     *
     * @param path
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * 获取
     *
     * @return component
     */
    public String getComponent() {
        return component;
    }

    /**
     * 设置
     *
     * @param component
     */
    public void setComponent(String component) {
        this.component = component;
    }

    /**
     * 获取
     *
     * @return level
     */
    public Integer getLevel() {
        return level;
    }

    /**
     * 设置
     *
     * @param level
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * 获取
     *
     * @return query
     */
    public String getQuery() {
        return query;
    }

    /**
     * 设置
     *
     * @param query
     */
    public void setQuery(String query) {
        this.query = query;
    }

    /**
     * 获取
     *
     * @return menuType
     */
    public String getMenuType() {
        return menuType;
    }

    /**
     * 设置
     *
     * @param menuType
     */
    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    /**
     * 获取
     *
     * @return isCache
     */
    public String getIsCache() {
        return isCache;
    }

    /**
     * 设置
     *
     * @param isCache
     */
    public void setIsCache(String isCache) {
        this.isCache = isCache;
    }

    /**
     * 获取
     *
     * @return visible
     */
    public String getVisible() {
        return visible;
    }

    /**
     * 设置
     *
     * @param visible
     */
    public void setVisible(String visible) {
        this.visible = visible;
    }

    /**
     * 获取
     *
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     *
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取
     *
     * @return perms
     */
    public String getPerms() {
        return perms;
    }

    /**
     * 设置
     *
     * @param perms
     */
    public void setPerms(String perms) {
        this.perms = perms;
    }

    /**
     * 获取
     *
     * @return icon
     */
    public String getIcon() {
        return icon;
    }

    /**
     * 设置
     *
     * @param icon
     */
    public void setIcon(String icon) {
        this.icon = icon;
    }

    /**
     * 获取
     *
     * @return children
     */
    public List<MenuVo> getChildren() {
        return children;
    }

    /**
     * 设置
     *
     * @param children
     */
    public void setChildren(List<MenuVo> children) {
        this.children = children;
    }

    public String toString() {
        return "MenuVo{menuId = " + menuId + ", menuName = " + menuName + ", parentId = " + parentId + ", orderNum = " + orderNum + ", path = " + path + ", component = " + component + ", level = " + level + ", query = " + query + ", menuType = " + menuType + ", isCache = " + isCache + ", visible = " + visible + ", status = " + status + ", perms = " + perms + ", icon = " + icon + ", children = " + children + "}";
    }
}
